package model

// Tag model.
type Tag struct {
	Model

	Name         string    `gorm:"size:128" json:"name" validate:"required"`
	ArticleCount int       `json:"articleCount" validate:"-"`
	Articles     []Article `gorm:"many2many:article_tag;" json:""`
}
